package com.lzd.exception;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class RunException extends RuntimeException{
    private String message;

    public static void  exception(String  message){
        throw new com.lzd.exception.RunException(message);
    }

}
